x86: favor function parameter over global in construct_dom0()
authorJan Beulich <jbeulich@suse.com>
Mon, 6 Oct 2014 09:15:37 +0000 (11:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 6 Oct 2014 09:15:37 +0000 (11:15 +0200)
commitf8bb9ffb986fd40a21fa376e766ae49fdda3c446
tree79bff0f735833cb509cf5d77600019127253230e
parentfdf30377fbc4fa6798bfda7d69e5d448c2b8e834
x86: favor function parameter over global in construct_dom0()

There's no reason to use the "hardware_domain" variable anywhere here,
making the code more cumbersome to read.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/domain_build.c